package com.jobpass.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jobpass.common.model.Teacher;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JobPass
 * @since 2020-07-17
 */
public interface TeacherService extends IService<Teacher> {
    /**
     * 查询所有Teacher
     * @return
     */
    List<Teacher> FindAllTeacher ();

    /**
     * 根据ID查询Teacher
     *
     */
    Teacher FindTeacherById(Long id);

    /**
     * 根据id删除Teacher
     */
    int DeleteTeacherById(Long id);

    /**
     * 根据id修改Teacher Id 和 其他修改项
     */
    int UpdateTeacherById(Teacher teacher);

    /**
     * 添加Teacher
     */
    int SavaTeacher(Teacher teacher);
}
